package com.wbz.bzmall.product.controller;

import com.wbz.bzmall.product.service.PmsBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @Autowired
    PmsBrandService pmsBrandService;

    @RequestMapping("hello")
    @ResponseBody
    public String hello() {
        return pmsBrandService.getById(9L).toString();
    }
}
